<?php
/**
 * Created by PhpStorm daichen.
 * User: 橙橙同学
 * Date: 2017/11/14
 * Time: 11:10
 */

namespace app\Model;

/**
 * Class MemberModel
 * Author daichen
 * @package app\Model
 * 会员模型层
 */

class MemberModel
{


    public static function getMemberInfoByUid($uid)
    {
        global $_W;
        $memberInfo = pdo_fetch("select * from ".tablename('mc_members')." where `uniacid`=:uniacid
        and `uid`=:uid",array(':uniacid'=>$_W['uniacid'],':uid'=>$uid));
        return $memberInfo;
    }

    public static function getMemberInfoByPlateNumber($plateNumber = "")
    {

    }
}